using RxjhServer.DbClss;
using System;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Windows.Forms;

namespace RxjhServer
{
	public class 爆率修改 : Form
	{
		private ListView listView2;

		private ColumnHeader columnHeader12;

		private ColumnHeader columnHeader13;

		private ColumnHeader columnHeader14;

		private ColumnHeader columnHeader15;

		private ColumnHeader columnHeader16;

		private ColumnHeader columnHeader17;

		private Button button43;

		private ColumnHeader columnHeader1;

		private ColumnHeader columnHeader2;

		private ColumnHeader columnHeader3;

		private ColumnHeader columnHeader4;

		private Button button2;

		private Button button3;

		private TextBox txtItemSearch;

		private Button button4;

		private ComboBox comboBox11;

		private Label label40;

		private ListBox listBox3;

		private ComboBox comboBox12;

		private Label label14;

		private ColumnHeader columnHeader11;

		private ColumnHeader columnHeader5;

		private ColumnHeader columnHeader7;

		private GroupBox groupBox2;

		private Button button6;

		private Button button7;

		private Button button8;

		private StatusStrip statusStrip1;

		private ToolStripStatusLabel toolStripStatusLabel1;

		private ToolStripStatusLabel tishi;

		private Panel panel1;

		private CheckBox checkBox2;

		private Label label8;

		private TextBox textBox7;

		private CheckBox checkBox1;

		private TextBox textBox68;

		private TextBox textBox67;

		private TextBox textBox66;

		private TextBox textBox65;

		private TextBox textBox64;

		private TextBox textBox63;

		private ComboBox comboBox18;

		private ComboBox comboBox17;

		private ComboBox comboBox16;

		private ComboBox comboBox15;

		private ComboBox comboBox14;

		private ComboBox comboBox13;

		private Label label46;

		private Label label45;

		private Label label44;

		private Label label43;

		private Label label42;

		private Label label41;

		private Label label11;

		private TextBox textBox10;

		private TextBox textBox4;

		private Label label5;

		private TextBox textBox3;

		private Label label4;

		private TextBox textBox2;

		private Label label3;

		private TextBox textBox1;

		private Label label1;

		public int 类型 = 1;

		public string s_id
		{
			get;
			set;
		}

		public string datebase
		{
			get;
			set;
		}

		private void InitializeComponent()
		{
			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RxjhServer.爆率修改));
			listView2 = new System.Windows.Forms.ListView();
			columnHeader11 = new System.Windows.Forms.ColumnHeader();
			columnHeader12 = new System.Windows.Forms.ColumnHeader();
			columnHeader13 = new System.Windows.Forms.ColumnHeader();
			columnHeader14 = new System.Windows.Forms.ColumnHeader();
			columnHeader15 = new System.Windows.Forms.ColumnHeader();
			columnHeader16 = new System.Windows.Forms.ColumnHeader();
			columnHeader17 = new System.Windows.Forms.ColumnHeader();
			columnHeader1 = new System.Windows.Forms.ColumnHeader();
			columnHeader2 = new System.Windows.Forms.ColumnHeader();
			columnHeader3 = new System.Windows.Forms.ColumnHeader();
			columnHeader4 = new System.Windows.Forms.ColumnHeader();
			columnHeader5 = new System.Windows.Forms.ColumnHeader();
			columnHeader7 = new System.Windows.Forms.ColumnHeader();
			button43 = new System.Windows.Forms.Button();
			button2 = new System.Windows.Forms.Button();
			button3 = new System.Windows.Forms.Button();
			txtItemSearch = new System.Windows.Forms.TextBox();
			button4 = new System.Windows.Forms.Button();
			comboBox11 = new System.Windows.Forms.ComboBox();
			label40 = new System.Windows.Forms.Label();
			listBox3 = new System.Windows.Forms.ListBox();
			comboBox12 = new System.Windows.Forms.ComboBox();
			label14 = new System.Windows.Forms.Label();
			groupBox2 = new System.Windows.Forms.GroupBox();
			button8 = new System.Windows.Forms.Button();
			button6 = new System.Windows.Forms.Button();
			button7 = new System.Windows.Forms.Button();
			statusStrip1 = new System.Windows.Forms.StatusStrip();
			toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
			tishi = new System.Windows.Forms.ToolStripStatusLabel();
			panel1 = new System.Windows.Forms.Panel();
			checkBox2 = new System.Windows.Forms.CheckBox();
			label8 = new System.Windows.Forms.Label();
			textBox7 = new System.Windows.Forms.TextBox();
			checkBox1 = new System.Windows.Forms.CheckBox();
			textBox68 = new System.Windows.Forms.TextBox();
			textBox67 = new System.Windows.Forms.TextBox();
			textBox66 = new System.Windows.Forms.TextBox();
			textBox65 = new System.Windows.Forms.TextBox();
			textBox64 = new System.Windows.Forms.TextBox();
			textBox63 = new System.Windows.Forms.TextBox();
			comboBox18 = new System.Windows.Forms.ComboBox();
			comboBox17 = new System.Windows.Forms.ComboBox();
			comboBox16 = new System.Windows.Forms.ComboBox();
			comboBox15 = new System.Windows.Forms.ComboBox();
			comboBox14 = new System.Windows.Forms.ComboBox();
			comboBox13 = new System.Windows.Forms.ComboBox();
			label46 = new System.Windows.Forms.Label();
			label45 = new System.Windows.Forms.Label();
			label44 = new System.Windows.Forms.Label();
			label43 = new System.Windows.Forms.Label();
			label42 = new System.Windows.Forms.Label();
			label41 = new System.Windows.Forms.Label();
			label11 = new System.Windows.Forms.Label();
			textBox10 = new System.Windows.Forms.TextBox();
			textBox4 = new System.Windows.Forms.TextBox();
			label5 = new System.Windows.Forms.Label();
			textBox3 = new System.Windows.Forms.TextBox();
			label4 = new System.Windows.Forms.Label();
			textBox2 = new System.Windows.Forms.TextBox();
			label3 = new System.Windows.Forms.Label();
			textBox1 = new System.Windows.Forms.TextBox();
			label1 = new System.Windows.Forms.Label();
			groupBox2.SuspendLayout();
			statusStrip1.SuspendLayout();
			panel1.SuspendLayout();
			SuspendLayout();
			listView2.Columns.AddRange(new System.Windows.Forms.ColumnHeader[13]
			{
				columnHeader11,
				columnHeader12,
				columnHeader13,
				columnHeader14,
				columnHeader15,
				columnHeader16,
				columnHeader17,
				columnHeader1,
				columnHeader2,
				columnHeader3,
				columnHeader4,
				columnHeader5,
				columnHeader7
			});
			listView2.FullRowSelect = true;
			listView2.GridLines = true;
			listView2.HideSelection = false;
			listView2.Location = new System.Drawing.Point(12, 11);
			listView2.Name = "listView2";
			listView2.Size = new System.Drawing.Size(1016, 258);
			listView2.TabIndex = 1;
			listView2.UseCompatibleStateImageBehavior = false;
			listView2.View = System.Windows.Forms.View.Details;
			listView2.SelectedIndexChanged += new System.EventHandler(listView2_SelectedIndexChanged);
			columnHeader11.Text = "id";
			columnHeader11.Width = 33;
			columnHeader12.Text = "最小掉落等级";
			columnHeader12.Width = 94;
			columnHeader13.Text = "最大掉落等级";
			columnHeader13.Width = 89;
			columnHeader14.Text = "掉落物品ID";
			columnHeader14.Width = 84;
			columnHeader15.Text = "掉落物品名字";
			columnHeader15.Width = 92;
			columnHeader16.Text = "物品属性1";
			columnHeader16.Width = 77;
			columnHeader17.Text = "物品属性2";
			columnHeader17.Width = 78;
			columnHeader1.Text = "物品属性3";
			columnHeader1.Width = 86;
			columnHeader2.Text = "物品属性4";
			columnHeader2.Width = 84;
			columnHeader3.Text = "物品属性5";
			columnHeader3.Width = 85;
			columnHeader4.Text = "掉落几率";
			columnHeader4.Width = 81;
			columnHeader5.Text = "需要金符";
			columnHeader7.Text = "是否提示";
			columnHeader7.Width = 69;
			button43.Location = new System.Drawing.Point(12, 276);
			button43.Name = "button43";
			button43.Size = new System.Drawing.Size(108, 23);
			button43.TabIndex = 3;
			button43.Text = "查看普通怪爆率";
			button43.UseVisualStyleBackColor = true;
			button43.Click += new System.EventHandler(button43_Click);
			button2.Location = new System.Drawing.Point(143, 275);
			button2.Name = "button2";
			button2.Size = new System.Drawing.Size(108, 23);
			button2.TabIndex = 7;
			button2.Text = "查看高手怪爆率";
			button2.UseVisualStyleBackColor = true;
			button2.Click += new System.EventHandler(button2_Click);
			button3.Location = new System.Drawing.Point(267, 275);
			button3.Name = "button3";
			button3.Size = new System.Drawing.Size(108, 23);
			button3.TabIndex = 8;
			button3.Text = "查看BOSS爆率";
			button3.UseVisualStyleBackColor = true;
			button3.Click += new System.EventHandler(button3_Click);
			txtItemSearch.Location = new System.Drawing.Point(398, 277);
			txtItemSearch.Name = "txtItemSearch";
			txtItemSearch.Size = new System.Drawing.Size(109, 21);
			txtItemSearch.TabIndex = 28;
			button4.Location = new System.Drawing.Point(522, 275);
			button4.Name = "button4";
			button4.Size = new System.Drawing.Size(75, 23);
			button4.TabIndex = 30;
			button4.Text = "开始搜索";
			button4.UseVisualStyleBackColor = true;
			button4.Click += new System.EventHandler(button4_Click);
			comboBox11.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			comboBox11.FormattingEnabled = true;
			comboBox11.Items.AddRange(new object[13]
			{
				"衣服",
				"护手",
				"鞋子",
				"武器",
				"内甲",
				"耳环",
				"项链",
				"戒指",
				"披风",
				"门甲",
				"宝宝",
				"弓箭",
				"其他"
			});
			comboBox11.Location = new System.Drawing.Point(546, 340);
			comboBox11.MaxDropDownItems = 20;
			comboBox11.Name = "comboBox11";
			comboBox11.Size = new System.Drawing.Size(121, 20);
			comboBox11.TabIndex = 33;
			comboBox11.SelectedIndexChanged += new System.EventHandler(comboBox11_SelectedIndexChanged);
			label40.AutoSize = true;
			label40.Location = new System.Drawing.Point(544, 317);
			label40.Name = "label40";
			label40.Size = new System.Drawing.Size(101, 12);
			label40.TabIndex = 32;
			label40.Text = "物品代码搜索列表";
			listBox3.FormattingEnabled = true;
			listBox3.ItemHeight = 12;
			listBox3.Location = new System.Drawing.Point(546, 366);
			listBox3.Name = "listBox3";
			listBox3.Size = new System.Drawing.Size(121, 160);
			listBox3.TabIndex = 31;
			listBox3.SelectedIndexChanged += new System.EventHandler(listBox3_SelectedIndexChanged);
			comboBox12.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			comboBox12.FormattingEnabled = true;
			comboBox12.Location = new System.Drawing.Point(546, 556);
			comboBox12.Name = "comboBox12";
			comboBox12.Size = new System.Drawing.Size(121, 20);
			comboBox12.TabIndex = 34;
			label14.AutoSize = true;
			label14.Location = new System.Drawing.Point(545, 536);
			label14.Name = "label14";
			label14.Size = new System.Drawing.Size(65, 12);
			label14.TabIndex = 37;
			label14.Text = "物品代码ID";
			groupBox2.Controls.Add(button8);
			groupBox2.Controls.Add(button6);
			groupBox2.Controls.Add(button7);
			groupBox2.Location = new System.Drawing.Point(698, 317);
			groupBox2.Name = "groupBox2";
			groupBox2.Size = new System.Drawing.Size(297, 101);
			groupBox2.TabIndex = 39;
			groupBox2.TabStop = false;
			groupBox2.Text = "动态调整操作";
			button8.Location = new System.Drawing.Point(216, 37);
			button8.Name = "button8";
			button8.Size = new System.Drawing.Size(75, 23);
			button8.TabIndex = 27;
			button8.Text = "删除";
			button8.UseVisualStyleBackColor = true;
			button8.Click += new System.EventHandler(button8_Click);
			button6.Location = new System.Drawing.Point(119, 38);
			button6.Name = "button6";
			button6.Size = new System.Drawing.Size(75, 23);
			button6.TabIndex = 26;
			button6.Text = "增加";
			button6.UseVisualStyleBackColor = true;
			button6.Click += new System.EventHandler(button6_Click);
			button7.Location = new System.Drawing.Point(6, 39);
			button7.Name = "button7";
			button7.Size = new System.Drawing.Size(75, 23);
			button7.TabIndex = 25;
			button7.Text = "修改";
			button7.UseVisualStyleBackColor = true;
			button7.Click += new System.EventHandler(button7_Click);
			statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[2]
			{
				toolStripStatusLabel1,
				tishi
			});
			statusStrip1.Location = new System.Drawing.Point(0, 591);
			statusStrip1.Name = "statusStrip1";
			statusStrip1.Size = new System.Drawing.Size(1037, 22);
			statusStrip1.TabIndex = 40;
			statusStrip1.Text = "statusStrip1";
			toolStripStatusLabel1.Name = "toolStripStatusLabel1";
			toolStripStatusLabel1.Size = new System.Drawing.Size(68, 17);
			toolStripStatusLabel1.Text = "信息提示：";
			tishi.ForeColor = System.Drawing.Color.Red;
			tishi.Name = "tishi";
			tishi.Size = new System.Drawing.Size(0, 17);
			panel1.Controls.Add(checkBox2);
			panel1.Controls.Add(label8);
			panel1.Controls.Add(textBox7);
			panel1.Controls.Add(checkBox1);
			panel1.Controls.Add(textBox68);
			panel1.Controls.Add(textBox67);
			panel1.Controls.Add(textBox66);
			panel1.Controls.Add(textBox65);
			panel1.Controls.Add(textBox64);
			panel1.Controls.Add(textBox63);
			panel1.Controls.Add(comboBox18);
			panel1.Controls.Add(comboBox17);
			panel1.Controls.Add(comboBox16);
			panel1.Controls.Add(comboBox15);
			panel1.Controls.Add(comboBox14);
			panel1.Controls.Add(comboBox13);
			panel1.Controls.Add(label46);
			panel1.Controls.Add(label45);
			panel1.Controls.Add(label44);
			panel1.Controls.Add(label43);
			panel1.Controls.Add(label42);
			panel1.Controls.Add(label41);
			panel1.Controls.Add(label11);
			panel1.Controls.Add(textBox10);
			panel1.Controls.Add(textBox4);
			panel1.Controls.Add(label5);
			panel1.Controls.Add(textBox3);
			panel1.Controls.Add(label4);
			panel1.Controls.Add(textBox2);
			panel1.Controls.Add(label3);
			panel1.Controls.Add(textBox1);
			panel1.Controls.Add(label1);
			panel1.Location = new System.Drawing.Point(13, 329);
			panel1.Name = "panel1";
			panel1.Size = new System.Drawing.Size(526, 247);
			panel1.TabIndex = 41;
			checkBox2.AutoSize = true;
			checkBox2.Location = new System.Drawing.Point(26, 203);
			checkBox2.Name = "checkBox2";
			checkBox2.Size = new System.Drawing.Size(72, 16);
			checkBox2.TabIndex = 126;
			checkBox2.Text = "是否提示";
			checkBox2.UseVisualStyleBackColor = true;
			label8.AutoSize = true;
			label8.Location = new System.Drawing.Point(24, 15);
			label8.Name = "label8";
			label8.Size = new System.Drawing.Size(17, 12);
			label8.TabIndex = 125;
			label8.Text = "ID";
			textBox7.Location = new System.Drawing.Point(113, 12);
			textBox7.Name = "textBox7";
			textBox7.Size = new System.Drawing.Size(129, 21);
			textBox7.TabIndex = 124;
			checkBox1.AutoSize = true;
			checkBox1.Location = new System.Drawing.Point(26, 181);
			checkBox1.Name = "checkBox1";
			checkBox1.Size = new System.Drawing.Size(72, 16);
			checkBox1.TabIndex = 119;
			checkBox1.Text = "需要金符";
			checkBox1.UseVisualStyleBackColor = true;
			textBox68.Location = new System.Drawing.Point(440, 129);
			textBox68.MaxLength = 5;
			textBox68.Name = "textBox68";
			textBox68.Size = new System.Drawing.Size(43, 21);
			textBox68.TabIndex = 118;
			textBox68.Text = "00000";
			textBox67.Location = new System.Drawing.Point(440, 106);
			textBox67.MaxLength = 5;
			textBox67.Name = "textBox67";
			textBox67.Size = new System.Drawing.Size(43, 21);
			textBox67.TabIndex = 117;
			textBox67.Text = "00000";
			textBox66.Location = new System.Drawing.Point(440, 83);
			textBox66.MaxLength = 5;
			textBox66.Name = "textBox66";
			textBox66.Size = new System.Drawing.Size(43, 21);
			textBox66.TabIndex = 116;
			textBox66.Text = "00000";
			textBox65.Location = new System.Drawing.Point(440, 60);
			textBox65.MaxLength = 5;
			textBox65.Name = "textBox65";
			textBox65.Size = new System.Drawing.Size(43, 21);
			textBox65.TabIndex = 115;
			textBox65.Text = "00000";
			textBox64.Location = new System.Drawing.Point(440, 37);
			textBox64.MaxLength = 1;
			textBox64.Name = "textBox64";
			textBox64.Size = new System.Drawing.Size(43, 21);
			textBox64.TabIndex = 114;
			textBox64.Text = "0";
			textBox63.Location = new System.Drawing.Point(440, 13);
			textBox63.MaxLength = 2;
			textBox63.Name = "textBox63";
			textBox63.Size = new System.Drawing.Size(43, 21);
			textBox63.TabIndex = 113;
			textBox63.Text = "00";
			comboBox18.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			comboBox18.FormattingEnabled = true;
			comboBox18.Items.AddRange(new object[15]
			{
				"无",
				"攻击增加",
				"防御增加",
				"生命增加",
				"内功增加",
				"命中率增加",
				"回避率增加",
				"武功攻击力%增加",
				"全部气功等级增加",
				"升级成功率%增加",
				"追加伤害值",
				"武功防御力增加",
				"获得金钱%增加",
				"死亡损失经验减少%",
				"经验值增加%"
			});
			comboBox18.Location = new System.Drawing.Point(313, 130);
			comboBox18.Name = "comboBox18";
			comboBox18.Size = new System.Drawing.Size(121, 20);
			comboBox18.TabIndex = 112;
			comboBox17.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			comboBox17.FormattingEnabled = true;
			comboBox17.Items.AddRange(new object[15]
			{
				"无",
				"攻击增加",
				"防御增加",
				"生命增加",
				"内功增加",
				"命中率增加",
				"回避率增加",
				"武功攻击力%增加",
				"全部气功等级增加",
				"升级成功率%增加",
				"追加伤害值",
				"武功防御力增加",
				"获得金钱%增加",
				"死亡损失经验减少%",
				"经验值增加%"
			});
			comboBox17.Location = new System.Drawing.Point(313, 107);
			comboBox17.Name = "comboBox17";
			comboBox17.Size = new System.Drawing.Size(121, 20);
			comboBox17.TabIndex = 111;
			comboBox16.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			comboBox16.FormattingEnabled = true;
			comboBox16.Items.AddRange(new object[15]
			{
				"无",
				"攻击增加",
				"防御增加",
				"生命增加",
				"内功增加",
				"命中率增加",
				"回避率增加",
				"武功攻击力%增加",
				"全部气功等级增加",
				"升级成功率%增加",
				"追加伤害值",
				"武功防御力增加",
				"获得金钱%增加",
				"死亡损失经验减少%",
				"经验值增加%"
			});
			comboBox16.Location = new System.Drawing.Point(313, 84);
			comboBox16.Name = "comboBox16";
			comboBox16.Size = new System.Drawing.Size(121, 20);
			comboBox16.TabIndex = 110;
			comboBox15.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			comboBox15.FormattingEnabled = true;
			comboBox15.Items.AddRange(new object[15]
			{
				"无",
				"攻击增加",
				"防御增加",
				"生命增加",
				"内功增加",
				"命中率增加",
				"回避率增加",
				"武功攻击力%增加",
				"全部气功等级增加",
				"升级成功率%增加",
				"追加伤害值",
				"武功防御力增加",
				"获得金钱%增加",
				"死亡损失经验减少%",
				"经验值增加%"
			});
			comboBox15.Location = new System.Drawing.Point(313, 61);
			comboBox15.Name = "comboBox15";
			comboBox15.Size = new System.Drawing.Size(121, 20);
			comboBox15.TabIndex = 109;
			comboBox14.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			comboBox14.FormattingEnabled = true;
			comboBox14.Items.AddRange(new object[7]
			{
				"无",
				"火",
				"水",
				"风",
				"内",
				"外",
				"毒"
			});
			comboBox14.Location = new System.Drawing.Point(313, 38);
			comboBox14.Name = "comboBox14";
			comboBox14.Size = new System.Drawing.Size(121, 20);
			comboBox14.TabIndex = 108;
			comboBox13.DisplayMember = "1";
			comboBox13.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			comboBox13.FormattingEnabled = true;
			comboBox13.Items.AddRange(new object[3]
			{
				"无",
				"武器强化",
				"防具强化"
			});
			comboBox13.Location = new System.Drawing.Point(313, 15);
			comboBox13.Name = "comboBox13";
			comboBox13.Size = new System.Drawing.Size(121, 20);
			comboBox13.TabIndex = 107;
			label46.AutoSize = true;
			label46.Location = new System.Drawing.Point(254, 133);
			label46.Name = "label46";
			label46.Size = new System.Drawing.Size(53, 12);
			label46.TabIndex = 106;
			label46.Text = "第四属性";
			label45.AutoSize = true;
			label45.Location = new System.Drawing.Point(254, 110);
			label45.Name = "label45";
			label45.Size = new System.Drawing.Size(53, 12);
			label45.TabIndex = 105;
			label45.Text = "第三属性";
			label44.AutoSize = true;
			label44.Location = new System.Drawing.Point(254, 87);
			label44.Name = "label44";
			label44.Size = new System.Drawing.Size(53, 12);
			label44.TabIndex = 104;
			label44.Text = "第二属性";
			label43.AutoSize = true;
			label43.Location = new System.Drawing.Point(254, 64);
			label43.Name = "label43";
			label43.Size = new System.Drawing.Size(53, 12);
			label43.TabIndex = 103;
			label43.Text = "第一属性";
			label42.AutoSize = true;
			label42.Location = new System.Drawing.Point(254, 41);
			label42.Name = "label42";
			label42.Size = new System.Drawing.Size(53, 12);
			label42.TabIndex = 102;
			label42.Text = "附生属性";
			label41.AutoSize = true;
			label41.Location = new System.Drawing.Point(254, 18);
			label41.Name = "label41";
			label41.Size = new System.Drawing.Size(53, 12);
			label41.TabIndex = 101;
			label41.Text = "强化属性";
			label11.AutoSize = true;
			label11.Location = new System.Drawing.Point(24, 155);
			label11.Name = "label11";
			label11.Size = new System.Drawing.Size(53, 12);
			label11.TabIndex = 21;
			label11.Text = "掉落几率";
			textBox10.Location = new System.Drawing.Point(113, 152);
			textBox10.Name = "textBox10";
			textBox10.Size = new System.Drawing.Size(129, 21);
			textBox10.TabIndex = 17;
			textBox4.Location = new System.Drawing.Point(113, 121);
			textBox4.Name = "textBox4";
			textBox4.Size = new System.Drawing.Size(129, 21);
			textBox4.TabIndex = 8;
			label5.AutoSize = true;
			label5.Location = new System.Drawing.Point(24, 124);
			label5.Name = "label5";
			label5.Size = new System.Drawing.Size(77, 12);
			label5.TabIndex = 7;
			label5.Text = "掉落物品名称";
			textBox3.Location = new System.Drawing.Point(113, 94);
			textBox3.Name = "textBox3";
			textBox3.Size = new System.Drawing.Size(129, 21);
			textBox3.TabIndex = 6;
			label4.AutoSize = true;
			label4.Location = new System.Drawing.Point(24, 97);
			label4.Name = "label4";
			label4.Size = new System.Drawing.Size(65, 12);
			label4.TabIndex = 5;
			label4.Text = "掉落物品ID";
			textBox2.Location = new System.Drawing.Point(113, 67);
			textBox2.Name = "textBox2";
			textBox2.Size = new System.Drawing.Size(129, 21);
			textBox2.TabIndex = 4;
			label3.AutoSize = true;
			label3.Location = new System.Drawing.Point(24, 70);
			label3.Name = "label3";
			label3.Size = new System.Drawing.Size(77, 12);
			label3.TabIndex = 3;
			label3.Text = "最大掉落等级";
			textBox1.Location = new System.Drawing.Point(113, 39);
			textBox1.Name = "textBox1";
			textBox1.Size = new System.Drawing.Size(129, 21);
			textBox1.TabIndex = 1;
			label1.AutoSize = true;
			label1.Location = new System.Drawing.Point(24, 42);
			label1.Name = "label1";
			label1.Size = new System.Drawing.Size(77, 12);
			label1.TabIndex = 0;
			label1.Text = "最小掉落等级";
			base.AutoScaleDimensions = new System.Drawing.SizeF(6f, 12f);
			base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			base.ClientSize = new System.Drawing.Size(1037, 613);
			base.Controls.Add(panel1);
			base.Controls.Add(statusStrip1);
			base.Controls.Add(label40);
			base.Controls.Add(groupBox2);
			base.Controls.Add(label14);
			base.Controls.Add(comboBox12);
			base.Controls.Add(comboBox11);
			base.Controls.Add(txtItemSearch);
			base.Controls.Add(listBox3);
			base.Controls.Add(button4);
			base.Controls.Add(button2);
			base.Controls.Add(button3);
			base.Controls.Add(listView2);
			base.Controls.Add(button43);
			base.Icon = (System.Drawing.Icon)resources.GetObject("$this.Icon");
			base.Name = "爆率修改";
			Text = "爆率修改";
			groupBox2.ResumeLayout(false);
			statusStrip1.ResumeLayout(false);
			statusStrip1.PerformLayout();
			panel1.ResumeLayout(false);
			panel1.PerformLayout();
			ResumeLayout(false);
			PerformLayout();
		}

		public 爆率修改()
		{
			InitializeComponent();
			tishi.Text = "以上设置更改后游戏立即生效请认真修改";
		}

		private void button43_Click(object sender, EventArgs e)
		{
			类型 = 1;
			普通怪爆率();
		}

		private void button2_Click(object sender, EventArgs e)
		{
			高手怪爆率();
		}

		private void button3_Click(object sender, EventArgs e)
		{
			BOSS爆率();
		}

		private void button1_Click_1(object sender, EventArgs e)
		{
			int num = 0;
			int num2 = 0;
			int num3 = 0;
			int num4 = 0;
			int num5 = 0;
			string text = comboBox13.Text;
			bool flag = false;
			if (1 == 0)
			{
			}
			int num6 = (text == "武器强化") ? (10000000 + int.Parse(textBox63.Text)) : ((text == "防具强化") ? (20000000 + int.Parse(textBox63.Text)) : ((text == "首饰加工") ? (30000000 + int.Parse(textBox63.Text)) : 0));
			if (1 == 0)
			{
			}
			int num7 = num6;
			bool flag2 = false;
			int num8 = num7;
			num = num8;
			switch (comboBox14.Text)
			{
			case "火":
				num += 1000001900;
				break;
			case "水":
				num += 1000002900;
				break;
			case "风":
				num += 1000003900;
				break;
			case "内":
				num += 1000004900;
				break;
			case "外":
				num += 1000005900;
				break;
			case "毒":
				num += 1000006900;
				break;
			}
			num2 = 属性选择(comboBox15.Text, int.Parse(textBox65.Text));
			num3 = 属性选择(comboBox16.Text, int.Parse(textBox66.Text));
			num4 = 属性选择(comboBox17.Text, int.Parse(textBox67.Text));
			num5 = 属性选择(comboBox18.Text, int.Parse(textBox68.Text));
			string text2 = textBox1.Text;
			string text3 = textBox2.Text;
			string text4 = textBox3.Text;
			string text5 = textBox4.Text;
			string text6 = textBox10.Text;
			string text7 = "";
			text7 = string.Format("update " + datebase + " SET FLD_LEVEL1='{1}',FLD_LEVEL2='{2}', FLD_PID='{3}',FLD_NAME='{4}',FLD_MAGIC0='{5}',FLD_MAGIC1='{6}',FLD_MAGIC2='{7}',FLD_MAGIC3='{8}',FLD_MAGIC4='{9}',FLD_PP='{10}'WHERE id='{0}'", s_id, text2, text3, text4, text5, num, num2, num3, num4, num5, text6);
			DBA.ExeSqlCommand(text7, "PublicDb");
			if (类型 == 1)
			{
				普通怪爆率();
			}
			else if (类型 == 2)
			{
				BOSS爆率();
			}
			else
			{
				高手怪爆率();
			}
		}

		private void 删除ToolStripMenuItem_Click(object sender, EventArgs e)
		{
			if (listView2.SelectedIndices != null && listView2.SelectedIndices.Count > 0)
			{
				ListView.SelectedIndexCollection selectedIndices = listView2.SelectedIndices;
				string text = listView2.Items[selectedIndices[0]].Text;
				string text2 = "";
				text2 = ((类型 == 1) ? ("delete from TBL_掉落_普通怪 where id =" + text) : ((类型 != 2) ? ("delete from TBL_掉落_高手怪 where id =" + text) : ("delete from TBL_掉落_BOSS where id =" + text)));
				DBA.ExeSqlCommand(text2, "PublicDb");
				if (类型 == 1)
				{
					普通怪爆率();
				}
				else if (类型 == 2)
				{
					BOSS爆率();
				}
				else
				{
					高手怪爆率();
				}
			}
		}

		public void 普通怪爆率()
		{
			listView2.Items.Clear();
			foreach (DropClass item in World.Drop)
			{
				ListViewItem listViewItem = new ListViewItem();
				listViewItem.SubItems.Clear();
				listViewItem.SubItems[0].Text = item.id.ToString();
				listViewItem.SubItems.Add(item.FLD_LEVEL1.ToString());
				listViewItem.SubItems.Add(item.FLD_LEVEL2.ToString());
				listViewItem.SubItems.Add(item.FLD_PID.ToString());
				listViewItem.SubItems.Add(item.FLD_NAME.ToString());
				listViewItem.SubItems.Add(item.FLD_MAGIC0.ToString());
				listViewItem.SubItems.Add(item.FLD_MAGIC1.ToString());
				listViewItem.SubItems.Add(item.FLD_MAGIC2.ToString());
				listViewItem.SubItems.Add(item.FLD_MAGIC3.ToString());
				listViewItem.SubItems.Add(item.FLD_MAGIC4.ToString());
				listViewItem.SubItems.Add(item.FLD_PP.ToString());
				listViewItem.SubItems.Add(item.需要金符.ToString());
				listViewItem.SubItems.Add(item.是否提示.ToString());
				listView2.Items.Add(listViewItem);
			}
		}

		private void 选择属性(int 属性1, int 属性2, int 属性3, int 属性4, int 属性5, out int num1, out int num3, out int num4, out int num5, out int num6)
		{
			num1 = 0;
			num3 = 0;
			num4 = 0;
			num5 = 0;
			num6 = 0;
			switch (comboBox13.Text)
			{
			case "武器强化":
				num1 = 10000000 + int.Parse(textBox63.Text);
				break;
			case "防具强化":
				num1 = 20000000 + int.Parse(textBox63.Text);
				break;
			case "首饰加工":
				num1 = 30000000 + int.Parse(textBox63.Text);
				break;
			default:
				num1 = 0;
				break;
			}
			switch (comboBox14.Text)
			{
			case "火":
				num1 += 1000001900;
				break;
			case "水":
				num1 += 1000002900;
				break;
			case "风":
				num1 += 1000003900;
				break;
			case "内":
				num1 += 1000004900;
				break;
			case "外":
				num1 += 1000005900;
				break;
			case "毒":
				num1 += 1000006900;
				break;
			}
			num3 = 属性选择(comboBox15.Text, int.Parse(textBox65.Text));
			num4 = 属性选择(comboBox16.Text, int.Parse(textBox66.Text));
			num5 = 属性选择(comboBox17.Text, int.Parse(textBox67.Text));
			num6 = 属性选择(comboBox18.Text, int.Parse(textBox68.Text));
		}

		public void 上下键触发()
		{
			if (listView2.SelectedIndices != null && listView2.SelectedIndices.Count > 0)
			{
				ListView.SelectedIndexCollection selectedIndices = listView2.SelectedIndices;
				string text2 = s_id = listView2.Items[selectedIndices[0]].SubItems[0].Text;
				string text3 = text2;
				string text4 = text3;
				string text5 = text4;
				textBox7.Text = text5;
				textBox1.Text = listView2.Items[selectedIndices[0]].SubItems[1].Text;
				textBox2.Text = listView2.Items[selectedIndices[0]].SubItems[2].Text;
				textBox3.Text = listView2.Items[selectedIndices[0]].SubItems[3].Text;
				textBox4.Text = listView2.Items[selectedIndices[0]].SubItems[4].Text;
				comboBox15.Text = listView2.Items[selectedIndices[0]].SubItems[5].Text;
				comboBox14.Text = listView2.Items[selectedIndices[0]].SubItems[6].Text;
				comboBox15.Text = listView2.Items[selectedIndices[0]].SubItems[7].Text;
				comboBox16.Text = listView2.Items[selectedIndices[0]].SubItems[8].Text;
				comboBox18.Text = listView2.Items[selectedIndices[0]].SubItems[9].Text;
				textBox10.Text = listView2.Items[selectedIndices[0]].SubItems[10].Text;
				if (listView2.Items[selectedIndices[0]].SubItems[11].Text != "0")
				{
					checkBox1.Checked = true;
				}
				else
				{
					checkBox1.Checked = false;
				}
				if (listView2.Items[selectedIndices[0]].SubItems[12].Text != "0")
				{
					checkBox2.Checked = true;
				}
				else
				{
					checkBox2.Checked = false;
				}
			}
		}

		public void 高手怪爆率()
		{
			类型 = 3;
			listView2.Items.Clear();
			foreach (DropClass drop_G in World.Drop_GS)
			{
				ListViewItem listViewItem = new ListViewItem();
				listViewItem.SubItems.Clear();
				listViewItem.SubItems[0].Text = drop_G.id.ToString();
				listViewItem.SubItems.Add(drop_G.FLD_LEVEL1.ToString());
				listViewItem.SubItems.Add(drop_G.FLD_LEVEL2.ToString());
				listViewItem.SubItems.Add(drop_G.FLD_PID.ToString());
				listViewItem.SubItems.Add(drop_G.FLD_NAME.ToString());
				listViewItem.SubItems.Add(drop_G.FLD_MAGIC0.ToString());
				listViewItem.SubItems.Add(drop_G.FLD_MAGIC1.ToString());
				listViewItem.SubItems.Add(drop_G.FLD_MAGIC2.ToString());
				listViewItem.SubItems.Add(drop_G.FLD_MAGIC3.ToString());
				listViewItem.SubItems.Add(drop_G.FLD_MAGIC4.ToString());
				listViewItem.SubItems.Add(drop_G.FLD_PP.ToString());
				listViewItem.SubItems.Add(drop_G.需要金符.ToString());
				listViewItem.SubItems.Add(drop_G.是否提示.ToString());
				listView2.Items.Add(listViewItem);
			}
		}

		public void BOSS爆率()
		{
			类型 = 2;
			listView2.Items.Clear();
			foreach (DropClass item in World.BossDrop)
			{
				ListViewItem listViewItem = new ListViewItem();
				listViewItem.SubItems.Clear();
				listViewItem.SubItems[0].Text = item.id.ToString();
				listViewItem.SubItems.Add(item.FLD_LEVEL1.ToString());
				listViewItem.SubItems.Add(item.FLD_LEVEL2.ToString());
				listViewItem.SubItems.Add(item.FLD_PID.ToString());
				listViewItem.SubItems.Add(item.FLD_NAME.ToString());
				listViewItem.SubItems.Add(item.FLD_MAGIC0.ToString());
				listViewItem.SubItems.Add(item.FLD_MAGIC1.ToString());
				listViewItem.SubItems.Add(item.FLD_MAGIC2.ToString());
				listViewItem.SubItems.Add(item.FLD_MAGIC3.ToString());
				listViewItem.SubItems.Add(item.FLD_MAGIC4.ToString());
				listViewItem.SubItems.Add(item.FLD_PP.ToString());
				listViewItem.SubItems.Add(item.需要金符.ToString());
				listViewItem.SubItems.Add(item.是否提示.ToString());
				listView2.Items.Add(listViewItem);
			}
		}

		private void button4_Click(object sender, EventArgs e)
		{
			ListViewItem listViewItem = listView2.FindItemWithText(txtItemSearch.Text, includeSubItemsInSearch: true, 0, isPrefixSearch: true);
			if (listViewItem != null)
			{
				listView2.FindItemWithText(txtItemSearch.Text, includeSubItemsInSearch: true, 0, isPrefixSearch: true).BackColor = Color.Red;
				listView2.TopItem = listViewItem;
			}
			else
			{
				MessageBox.Show("没有找到信息");
				txtItemSearch.Text = "";
			}
		}

		private void comboBox11_SelectedIndexChanged(object sender, EventArgs e)
		{
			string str = "";
			switch (comboBox11.Text)
			{
			case "武器":
				str = "4";
				break;
			case "衣服":
				str = "1";
				break;
			case "护手":
				str = "2";
				break;
			case "鞋子":
				str = "5";
				break;
			case "内甲":
				str = "6";
				break;
			case "项链":
				str = "7";
				break;
			case "耳环":
				str = "8";
				break;
			case "戒指":
				str = "10";
				break;
			case "披风":
				str = "12";
				break;
			case "弓箭":
				str = "13";
				break;
			case "门甲":
				str = "14";
				break;
			case "宝宝":
				str = "15";
				break;
			}
			listBox3.Items.Clear();
			comboBox12.Items.Clear();
			string sqlCommand = "select * from TBL_物品列表 where FLD_RESIDE2='" + str + "'";
			DataTable dBToDataTable = DBA.GetDBToDataTable(sqlCommand, "PublicDb");
			for (int i = 0; i < dBToDataTable.Rows.Count; i++)
			{
				listBox3.Items.Add(dBToDataTable.Rows[i]["FLD_NAME"].ToString());
				comboBox12.Items.Add(dBToDataTable.Rows[i]["FLD_PID"].ToString());
			}
		}

		private void listBox3_SelectedIndexChanged(object sender, EventArgs e)
		{
			comboBox12.SelectedIndex = listBox3.SelectedIndex;
			textBox3.Text = comboBox12.Text;
			textBox4.Text = listBox3.Text;
		}

		private void button5_Click_1(object sender, EventArgs e)
		{
			int num = 0;
			int num2 = 0;
			int num3 = 0;
			int num4 = 0;
			int num5 = 0;
			string text = comboBox13.Text;
			bool flag = false;
			if (1 == 0)
			{
			}
			int num6 = (text == "武器强化") ? (10000000 + int.Parse(textBox63.Text)) : ((text == "防具强化") ? (20000000 + int.Parse(textBox63.Text)) : ((text == "首饰加工") ? (30000000 + int.Parse(textBox63.Text)) : 0));
			if (1 == 0)
			{
			}
			int num7 = num6;
			bool flag2 = false;
			int num8 = num7;
			num = num8;
			switch (comboBox14.Text)
			{
			case "火":
				num += 1000001900;
				break;
			case "水":
				num += 1000002900;
				break;
			case "风":
				num += 1000003900;
				break;
			case "内":
				num += 1000004900;
				break;
			case "外":
				num += 1000005900;
				break;
			case "毒":
				num += 1000006900;
				break;
			}
			num2 = 属性选择(comboBox15.Text, int.Parse(textBox65.Text));
			num3 = 属性选择(comboBox16.Text, int.Parse(textBox66.Text));
			num4 = 属性选择(comboBox17.Text, int.Parse(textBox67.Text));
			num5 = 属性选择(comboBox18.Text, int.Parse(textBox68.Text));
			string text2 = textBox1.Text;
			string text3 = textBox2.Text;
			string text4 = textBox3.Text;
			string text5 = textBox4.Text;
			string text6 = textBox10.Text;
			string text7 = "";
			text7 = string.Format("insert INTO " + datebase + " ( FLD_LEVEL1,FLD_LEVEL2, FLD_PID,FLD_NAME,FLD_MAGIC0,FLD_MAGIC1,FLD_MAGIC2,FLD_MAGIC3,FLD_MAGIC4,FLD_PP)VALUES({0},{1},{2},'{3}',{4},{5},{6},{7},{8},{9})", text2, text3, text4, text5, num, num2, num3, num4, num5, text6);
			DBA.ExeSqlCommand(text7, "PublicDb");
			if (类型 == 1)
			{
				普通怪爆率();
			}
			else if (类型 == 2)
			{
				BOSS爆率();
			}
			else
			{
				高手怪爆率();
			}
		}

		private int 属性选择(string txt, int sx)
		{
			try
			{
				bool flag = false;
				if (1 == 0)
				{
				}
				int num;
				switch (txt)
				{
				case "攻击增加":
					num = 10000000 + sx;
					break;
				case "防御增加":
					num = 20000000 + sx;
					break;
				case "生命增加":
					num = 30000000 + sx;
					break;
				case "内功增加":
					num = 40000000 + sx;
					break;
				case "命中率增加":
					num = 50000000 + sx;
					break;
				case "回避率增加":
					num = 60000000 + sx;
					break;
				case "武功攻击力%增加":
					num = 70000000 + sx;
					break;
				case "全部气功等级增加":
					num = 80000000 + sx;
					break;
				case "升级成功率%增加":
					num = 90000000 + sx;
					break;
				case "追加伤害值":
					num = 100000000 + sx;
					break;
				case "武功防御力增加":
					num = 110000000 + sx;
					break;
				case "获得金钱%增加":
					num = 120000000 + sx;
					break;
				case "死亡损失经验减少%":
					num = 130000000 + sx;
					break;
				case "经验值增加%":
					num = 150000000 + sx;
					break;
				default:
					num = 0;
					break;
				}
				if (1 == 0)
				{
				}
				int result = num;
				bool flag2 = false;
				return result;
			}
			catch
			{
				return 0;
			}
		}

		private void button7_Click(object sender, EventArgs e)
		{
			if (类型 == 1)
			{
				foreach (DropClass item in World.Drop)
				{
					int num = 0;
					int num2 = 0;
					int num3 = 0;
					int num4 = 0;
					int num5 = 0;
					选择属性(0, 0, 0, 0, 0, out num, out num2, out num3, out num4, out num5);
					if (item.FLD_PID == int.Parse(textBox3.Text))
					{
						item.id = int.Parse(textBox7.Text);
						item.FLD_LEVEL1 = int.Parse(textBox1.Text);
						item.FLD_LEVEL2 = int.Parse(textBox2.Text);
						item.FLD_PID = int.Parse(textBox3.Text);
						item.FLD_PP = int.Parse(textBox10.Text);
						item.FLD_NAME = textBox4.Text;
						if (num != 0)
						{
							item.FLD_MAGIC0 = num;
						}
						if (num2 != 0)
						{
							item.FLD_MAGIC1 = num2;
						}
						if (num3 != 0)
						{
							item.FLD_MAGIC2 = num3;
						}
						if (num4 != 0)
						{
							item.FLD_MAGIC3 = num4;
						}
						if (num5 != 0)
						{
							item.FLD_MAGIC4 = num5;
						}
						if (checkBox1.Checked)
						{
							item.需要金符 = 1;
						}
						else
						{
							item.需要金符 = 0;
						}
						item.FLD_NAME = textBox4.Text;
						if (checkBox2.Checked)
						{
							item.是否提示 = 1;
						}
						else
						{
							item.是否提示 = 0;
						}
					}
				}
				普通怪爆率();
			}
			else if (类型 == 2)
			{
				foreach (DropClass item2 in World.BossDrop)
				{
					int num6 = 0;
					int num7 = 0;
					int num8 = 0;
					int num9 = 0;
					int num10 = 0;
					选择属性(0, 0, 0, 0, 0, out num6, out num7, out num8, out num9, out num10);
					if (item2.id == int.Parse(textBox7.Text))
					{
						item2.id = int.Parse(textBox7.Text);
						item2.FLD_LEVEL1 = int.Parse(textBox1.Text);
						item2.FLD_LEVEL2 = int.Parse(textBox2.Text);
						item2.FLD_PID = int.Parse(textBox3.Text);
						item2.FLD_PP = int.Parse(textBox10.Text);
						item2.FLD_NAME = textBox4.Text;
						if (num6 != 0)
						{
							item2.FLD_MAGIC0 = num6;
						}
						if (num7 != 0)
						{
							item2.FLD_MAGIC1 = num7;
						}
						if (num8 != 0)
						{
							item2.FLD_MAGIC2 = num8;
						}
						if (num9 != 0)
						{
							item2.FLD_MAGIC3 = num9;
						}
						if (num10 != 0)
						{
							item2.FLD_MAGIC4 = num10;
						}
						if (checkBox1.Checked)
						{
							item2.需要金符 = 1;
						}
						else
						{
							item2.需要金符 = 0;
						}
						item2.FLD_NAME = textBox4.Text;
						if (checkBox2.Checked)
						{
							item2.是否提示 = 1;
						}
						else
						{
							item2.是否提示 = 0;
						}
					}
				}
				BOSS爆率();
			}
			else
			{
				foreach (DropClass drop_G in World.Drop_GS)
				{
					int num11 = 0;
					int num12 = 0;
					int num13 = 0;
					int num14 = 0;
					int num15 = 0;
					选择属性(0, 0, 0, 0, 0, out num11, out num12, out num13, out num14, out num15);
					if (drop_G.id == int.Parse(textBox7.Text))
					{
						drop_G.id = int.Parse(textBox7.Text);
						drop_G.FLD_LEVEL1 = int.Parse(textBox1.Text);
						drop_G.FLD_LEVEL2 = int.Parse(textBox2.Text);
						drop_G.FLD_PID = int.Parse(textBox3.Text);
						drop_G.FLD_PP = int.Parse(textBox10.Text);
						drop_G.FLD_NAME = textBox4.Text;
						if (num11 != 0)
						{
							drop_G.FLD_MAGIC0 = num11;
						}
						if (num12 != 0)
						{
							drop_G.FLD_MAGIC1 = num12;
						}
						if (num13 != 0)
						{
							drop_G.FLD_MAGIC2 = num13;
						}
						if (num14 != 0)
						{
							drop_G.FLD_MAGIC3 = num14;
						}
						if (num15 != 0)
						{
							drop_G.FLD_MAGIC4 = num15;
						}
						if (checkBox1.Checked)
						{
							drop_G.需要金符 = 1;
						}
						else
						{
							drop_G.需要金符 = 0;
						}
						drop_G.FLD_NAME = textBox4.Text;
						if (checkBox2.Checked)
						{
							drop_G.是否提示 = 1;
						}
						else
						{
							drop_G.是否提示 = 0;
						}
					}
				}
				高手怪爆率();
			}
		}

		private void listView2_SelectedIndexChanged(object sender, EventArgs e)
		{
			上下键触发();
		}

		private void button6_Click(object sender, EventArgs e)
		{
			int num = 0;
			int num2 = 0;
			int num3 = 0;
			int num4 = 0;
			int num5 = 0;
			选择属性(0, 0, 0, 0, 0, out num, out num2, out num3, out num4, out num5);
			DropClass dropClass = new DropClass();
			dropClass.id = int.Parse(textBox7.Text);
			dropClass.FLD_LEVEL1 = int.Parse(textBox1.Text);
			dropClass.FLD_LEVEL2 = int.Parse(textBox2.Text);
			dropClass.FLD_PID = int.Parse(textBox3.Text);
			dropClass.FLD_PP = int.Parse(textBox10.Text);
			if (num != 0)
			{
				dropClass.FLD_MAGIC0 = num;
			}
			if (num2 != 0)
			{
				dropClass.FLD_MAGIC1 = num2;
			}
			if (num3 != 0)
			{
				dropClass.FLD_MAGIC2 = num3;
			}
			if (num4 != 0)
			{
				dropClass.FLD_MAGIC3 = num4;
			}
			if (num5 != 0)
			{
				dropClass.FLD_MAGIC4 = num;
			}
			if (checkBox1.Checked)
			{
				dropClass.需要金符 = 1;
			}
			else
			{
				dropClass.需要金符 = 0;
			}
			dropClass.FLD_NAME = textBox4.Text;
			if (checkBox2.Checked)
			{
				dropClass.是否提示 = 1;
			}
			else
			{
				dropClass.是否提示 = 0;
			}
			if (类型 == 1)
			{
				foreach (DropClass item in World.Drop)
				{
					if (item.id == int.Parse(textBox7.Text))
					{
						tishi.Text = "请修改ID，ID不可以跟其他ID重复否则出错";
						return;
					}
				}
				World.Drop.Add(dropClass);
				普通怪爆率();
			}
			else if (类型 == 2)
			{
				foreach (DropClass item2 in World.BossDrop)
				{
					if (item2.id == int.Parse(textBox7.Text))
					{
						tishi.Text = "请修改ID，ID不可以跟其他ID重复否则出错";
						return;
					}
				}
				World.BossDrop.Add(dropClass);
				BOSS爆率();
			}
			else
			{
				foreach (DropClass drop_G in World.Drop_GS)
				{
					if (drop_G.id == int.Parse(textBox7.Text))
					{
						tishi.Text = "请修改ID，ID不可以跟其他ID重复否则出错";
						return;
					}
				}
				World.Drop_GS.Add(dropClass);
				高手怪爆率();
			}
		}

		private void button8_Click(object sender, EventArgs e)
		{
			if (类型 == 1)
			{
				for (int num = World.Drop.Count - 1; num >= 0; num--)
				{
					if (World.Drop[num].id == int.Parse(textBox7.Text))
					{
						World.Drop.RemoveAt(num);
					}
				}
				普通怪爆率();
				return;
			}
			if (类型 == 2)
			{
				for (int num2 = World.BossDrop.Count - 1; num2 >= 0; num2--)
				{
					if (World.BossDrop[num2].id == int.Parse(textBox7.Text))
					{
						World.BossDrop.RemoveAt(num2);
					}
				}
				BOSS爆率();
				return;
			}
			for (int num3 = World.Drop_GS.Count - 1; num3 >= 0; num3--)
			{
				if (World.Drop_GS[num3].id == int.Parse(textBox7.Text))
				{
					World.Drop_GS.RemoveAt(num3);
				}
			}
			高手怪爆率();
		}
	}
}
